package com.example.demo.Hystrix;

import com.example.demo.service.UserServiceI;
import org.springframework.stereotype.Component;

/**
 * Created by 蔡超 on 2019/1/10.
 */
@Component
public class UserServiceHystrix implements UserServiceI {
    @Override
    public String sayHi(String message) {
        return "Hi，your message is :\"" + message + "\" but request error.";
    }
}
